import React from 'react';
import { useOnLine } from './useOnline';
const Base1 = () => {
    return (
        <div>
            当前的网络状态: {useOnLine() ? '在线' : '离线'}
        </div>
    );
}

export default Base1;
